package com.lagou.sqlSession;

import com.lagou.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

public class BoundSql {
    //解析过后的sql语句
    private String sqlText;
    //解析出的参数们
    private List<ParameterMapping> paramterMappingList = new ArrayList<>();

    public BoundSql(String sqlText, List<ParameterMapping> paramterMappingList) {
        this.sqlText = sqlText;
        this.paramterMappingList = paramterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParamterMappingList() {
        return paramterMappingList;
    }

    public void setParamterMappingList(List<ParameterMapping> paramterMappingList) {
        this.paramterMappingList = paramterMappingList;
    }
}
